Refactoring, dynamic constraints based on accessory view