Added text fields and implemented enable state changes