Refactoring: Ui tabs in enum instead of constants