Added edit database name function
Added edit name undo mechanism