added pre-selection function and all ImageButtons are now working