Removes the active state