removed function to load settings and integrated functionality in
onCreate()