Complete main activity