fix rename folder on key 'enter' press in gallery