Fix Android REPL reloading and try to reload in the correct order