fixed focus

fixed the focus so that now we will focus on the proper input edit
whenever we try to edit an item