disable-enable button for better UI

Added the directive for a better understanding of the UI.