Removed bug while editing tasks