Merging the AR panels

because that reduce duplication

Fixing AR toggle (it used selection index rather than event index)