Then method can take next activity as an argument.