Further debugging of profile SMS listener, needs a lot of corner testing to get it right