added no gps alert, setting page, rearranged code