made enums a local variable in form view instead of a variable on App