Changes to item editing

Fixed editing to automatically focus. Also simplified code to remove
clutter and stop input field from automatically highlighting text the
first time editItem runs