fixed layout constraints. Added @properties to UI objects