Making a Shiny app with a conditional Panel and a checkbox.

This is a lot of content, not clearly presented, with private objects and even private code. Therefore, I predict your odds of receiving support are low.

IF you aren't familiar with best practices for shiny reprexes, check out

This will make it easier for folks to replicate your issue and offer suggestions to solve it.