Adding enabled and diabled css classes to actions