Moved action handlers to separate file, added buttons to Action sheet.