Fixed notes and permissions.

Signed-off-by: bplotka <bwplotka@gmail.com>
Does not work because of JSONObject (lack of newest compilator?)

Signed-off-by: bplotka <bwplotka@gmail.com>