Add get last screen shot and paint component
Implement get state