Fix data type
Fix deprecated warning
Set test app's navigationbar opaque
v2.0.1