Clean up the initialize method of RosterView

by moving event handers out