Refactor bindBuddyClick to onBuddyClick