Refactoring and refresh event list on app foreground.