adding post about android app in foreground or background