Implemented gps enabled check