fixed view and arranged controller code for association of items and measures via groups