EditPage: Stop using globals for configuration in non-static functions