Fix to make sure edited bots are saved.