Automatically complete namespace with activity

Append MainActivity if there's no activity given.