switch active/deactive on click
add alert on locationerror