moving button actions to extjs controller