move control/logics from search favorite activity to search favorite fragment such that the fragment is self-contained. the activity calls method on the fragment to save preference.
Merge pull request #12 from Zhongtang/self_contained_fragment

self contained fragment