Clean up building of study options fragment