Make sure to unbind from settings when closing preferences