Fixed refresh when adding elements

Fixed refresh in adding elements and changed delete into imageview (i
think will return to an imagebutton)