moifications made to shuffle and repeat using getActivity() intstead of getApplicationContext() since fragments do not subclass Context class