Fixed bug when loading processing sketch

Bug apperared after bluetooth connect. Seems to work now