small code segment added wich saves the index of the song currently presented in the SongPanel