Finished the workings of the menu