change a way to implement spinner on actionbar