Move some button code from MInCAppDelegate class to FirstView class.