Add NewDescriptor butto to editor
State machine - Refactor the widget