add actionbar event listener interface and support switching purchase list using actionbar buttons