refreshing info when app is entering foreground