Fixed which button does what in main activity