created a cancel button that undoes the prior actions and some minor styling