Unfortunately I don't know!
Tested this again and it works for me, so my guess is that there might have been a problem with the way you copied the code or files into your project? Sorry I can't be of much help!
Found it! I'm an idiot, I just wasn't putting those names inside quotes in the imagebutton line.
Thanks a lot for the quick response though! I got it to work!