refactoring: extract method
fixed NPE on showing toast (need to fix memory leak)