keeps selected buttons from being deselected