update gradle version
Merge remote-tracking branch 'head/material_develop' into material_develop
Close db at finally, change readable for writable db