Replacing throwing exceptions with toasts