moved to text fields
created preference dialog, which is a little bit less complex.