locationError handling

Add error handling for locationEror. Pop-up an alert window.