Brian Austin Green reveals why he texted Luke Perry after he died