Show answer button and not submit form for no longer active problems and fixed activeTo in problems schema

Also fixed deprecation warnings, indentation