Add radio buttons to switch devices (GPU and CPU) on Barkley demo

Issue #27

  Reviewed by: Marcelo Morais