Added functionality to exit and options buttons

in main menu