implement viewDidLoad so UI shows the correct settings