add imageSelected variable to keep track of only text vs text&Picture messages