Removed unused toast stuff and unused imports.