Added GPS permission, some pseudocode and menu items