Added textfield editability rules to GUI