Modified the code so that the slide selected will have a star in front