Fixed RuntimeExceptions of RLActivity and RLFragmentActivity.