Fixing todo edit mode and closing mechanism for color picker