Add Guard to isSelected Function
Add Guard to isSelected Function

Problem
-------

The isSelected function will fail if selectedBody on the scope is not set. This
is introducing issues when initially loading a simulation.

Solution
--------

Add a guard to test if `selectedBody` is set.

orbitable/bridge,orbitable/bridge