added show image in main cycle in heart rate monitor test