Changed main activity to complie