Fixed looping endpoint.java

Added a stop to the locationlistener
Disabled back button on endpoint.java