fixed some bugs

reselect new entry, 
save changes to entry