fixed exception during saving image.
hide option selector when going mainpage