ui part of changing units is done