added a disabled class for buttons and dynamic adding/removing of it