Implemented data refresh

- Corrected select element values in Settings page pertaining to data refresh
- Refactored/optimized code for loading iframe
- Added setInterval code for refreshing the page