Fix Memory Problem in the MainViewController