Get rid of private macros
The highly undocumented my... macros make the template difficult to use for inexperienced users. The macros are not good enough covering all types of conditions. E.g. Listoffigures totally breaks if a specific citation appears in there. Also, overleaf doesn't react well to it. My suggestion: Avoid all myfootnote, mytab, my fig stuff and keep it real.