Changed card association code to not rely on a timer, closes #10