fix issue 2164 and issue 2182

The old way of changing to study options for custom study session was buggy on small devices and broken on tablets. This uses the approach of reloading the fragment from scratch in both cases via a Listener interface, as per the Android guidelines for communicating between fragments.