Learn how to post your sketch so we can read it.
loop() can’t have ANY delays, remove the 5 minutes entry.
Arduino’s use Simple Timer http://playground.arduino.cc/Code/SimpleTimer
You should use the equivelant for your hardware, SparkCorePolled not SparkIntervalTimer as per Conflict in blynk and spark interval timer library
Study SimpleTimer even though it is not for your hardware. Search for the many references on this site to why it is needed and then implement with SparkCorePolled library.