(Note that the UI for activating / deactivating the barrier will likely be changed before merging this PR)