replaced all occurences of index with appIndex and increased the appgrid activeList indexes