fixing problem : boxSelected and boxEdited not synchronized