Cleaned/refactored MainActivity and extracted constants for user
interface (toasts).