Android Application Status - Background or Foreground