Fix potential keyboard observer crash

Remove notification observer when released