Add setAscurrentIndex