Add popup activity and replace database