Buttons now react better to state of student material selector.
Merge pull request #376 from henningmu/issue#341-lending_buttons

Buttons now react better to state of student material selector.