Updated app to use applyProperties