minor changes
changed mocklocation and mainactivity to handle restar the thread of
mocklocation