Added delegate method for finish playing