We don't need the old state here, so let's use the "notify::state" signal instead of the "state-changed" signal.