I want to know can i set or reset enum values from UI in my application. Also i want to know its right way or not.