Added 'Disabled' state to button template
Added disable/enable to buttons in UI
Format clean up