Loading data before viewDidLoad, implemented reset method.