action for all module buttons