Comments and formatting for ButtonActivity