progressbar: get rid of redundant applyCtx from simple theme template (close #1210)

Resolves #1210