removes unit option whenever clicked elsewhere