added a GPS view
fixed button action