Fetch available Id from db "notepaper" and generate QR code

"$params['savename']" in function "generateQrCode($id)" in
"message_model.php" must be changed if linux is used.