Fixed obligation on button click

An obligation can now be viewed upon clicking the button for the
obligation.