Change random generator function to arc4random()
A bunch of fixes

Fix indentation
Fix dealloc of view controller
Change "Edit" button title on tap