Adding view for toggling task state as  done or note
Adding a button to toggle state in task detail page, Also alert messages are shown only if task is not done