Buttons enable disable functionality added