Discard post fragment first and then super.onBackPressed
Check if context is not null before proceeding