Added Function to handle MainMenu image clicks.