Switch to using the masterapp from the database record.