Hi Harshmeet,
You might be new to sapui5, you are learning well.
Well the solution to your problem is that, you have passed single quotes in your visible parameter, visible parameter only accepts Boolean object.
So try removing the quotes
visible: false
If something comes up again, don't hesitate to post questions on SCN.
With Regards,
Vishnu