Add initial functionality to index buttons