Cleaned the code of UIElement project