added next activity and successfully passed the value