FindViewById called twice

This PR resolves the issue #552.