add enum for flags.
refactor: move reload to independent class.
change to use listview instead of gridview. later use customized
listview
change to use async task to reload listview.