Now using inline input field for rename action

Also added validation of file name.