Fix bug where toast referenced a null context.