Associating interface elements to controller