- implemented cancelUnit and removeUnit for cancelling any changes made to the unit and removing already existting unit, respectively