change general to MainActivty to keep longer on background