Moved code out of onCreate and into their own methods. Changed OnClickListeners to xml references to functions