Cancel notifications when removed from window

Register for notifications when added to window. Also reset animated
colors if needed.