put UI color application rules into a region, moved if statement to one line.
put UI color application rules into a region, moved if statement to one line.

Willster419/RelhaxModpack,Willster419/RelhaxModpack,Willster419/RelicModManager