add pause & resume notification so that communication between Android &
server works properly