Created an edit menu and fixed the copy and paste issue of the textfields