Flask: changed lm.setup_app to lm.init_app

setup_app has been deprecated