added posting images when the app became active
code indent