fix crash with new material theme
Merge pull request #62 from weefbellington/material-theme-fixes

fix crash with new material theme