Fixed selection handler after load from file