Check permission before adding GPS listener