switch UI units when input labels clicked