Create and apply classes to custom action buttons