Split set and check options methods and avoid repeating code

Try to split clearly the set/check and draw methods.