get picture with actionBar
fixed bugs