Fixed an issue where refreshView was being called during viewDidLoad and it was causing a crash.