add looper in mediaplayer and update preference package