Set up listening to contentView in the initialize method.