Finished both sections of MainActivity