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