Removed function for saving last used units.