improvement of function

add UITapGustureRecgnizer to detect tap to hide keyboard in edit view
and add view.