add app index

add app index
I suggest write in this way: displayInfo = !displayInfo;