changed the way the click to change algorithms is handled. Works now
across platforms.