Why did you decide to construct the fragment here rather than creating it on demand in onClick()?