fixed #24

The issue was in the wrong use of the
getActivity().getApplicationContext vs just getActivity()