ADDED: interface to call parent activity after drawing rainbow