Enhance location permission handling with shared preferences integration
This commit improves the location permission management by introducing shared preferences to track whether permission was previously denied. Key changes include:
- Added checks to prevent repeated permission requests if previously denied.
- Updated the logic to save and clear the denied permission state in shared preferences.
- Enhanced user feedback by ensuring appropriate messages are displayed based on permission status.
These updates aim to streamline the location permission process and improve user experience by reducing unnecessary prompts.