restore photo attach long press, bug fixes