Relinked main activity