public boolean loadNotes(){
        if (this.sid != null){
            String request = "?action=get_notes&sid="+Server.encode(this.sid) ;

            URLConnection connection = Server.getConnection(request);
            if (connection != null){
                String json = Server.getResponse(connection);
                if (json != null){
          
                    JSONObject response = new JSONObject(json);
                    Boolean status   = response.getBoolean("status") ;
                    
                    if (status){
                        notehandler.clear();
                        JSONArray notes = null ;
                        try {
                            notes = response.getJSONArray("data");
                        } catch (Exception e){
                            return false ;
                        }
                        
                                                    
                        // Timestamp from MySQL is in format of yyyy-MM-dd HH:mm:ss
                        DateFormat ts_format = new SimpleDateFormat(Server.MySQL_TS_FORMAT);
                        
                        for (int i = 0 ; i < notes.length() ; i++){
                            JSONObject obj = notes.getJSONObject(i);
                            
                            Integer id    = obj.getInt("id");
                            String title = obj.getString("title");
                            String descr = obj.getString("description");
                            Boolean enabled =  obj.getBoolean("enabled");
                            String timestamp = obj.getString("alertdate");
                            
                            Date alertdate = null ;
                            try {
                                alertdate = ts_format.parse(timestamp);
                            } catch (Exception e){
                                alertdate = new Date();
                            }
                            
                            Note note = new Note();
                            note.setTitle       (title);
                            note.setDescription (descr);
                            note.setEnabled     (enabled);
                            note.setAlertDate   (alertdate);
                            note.setId          (id);

                            notehandler.addNote(note);                          
                        }
                        scheduleTimer();
                    }
                }
            }
        }
        return false ;
    }