Added check if view exists. Upgraded to 1.0.1.