public void startApp() throws MIDletStateChangeException {
        try {
            rs = RecordStore.openRecordStore("tknumber", true);
            if (rs.getNumRecords() > 0) {
                System.out.println(rs.getRecord(1).toString());
                InputStream is = new ByteArrayInputStream(rs.getRecord(1));

                int ch = -1;
                StringBuffer sb1 = new StringBuffer();
                Reader r2 = new InputStreamReader(is, "UTF-8");

                while ((ch = r2.read()) != -1) {

                    sb1.append((char) ch);

                }
                String outrs = sb1.toString();
                System.out.println(outrs);
                number.setString(outrs);
                is.close();
            }
            rs.closeRecordStore();
        } catch (RecordStoreException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        } catch (IOException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        }
        display = Display.getDisplay(this);
        form = new Form("Баланс транспортной карты");
        form.setCommandListener(this);

        System.out.println("Starting app");


        form.addCommand(cmd_exit);
        form.addCommand(submit);

        form.append(number);
        //form.append(captcha);
        //form.append("Hello j2me");

        Runtime rt = Runtime.getRuntime();
        //form.append("Free Memory: " + rt.freeMemory());
        //form.append("Total Memory: " + rt.totalMemory());


        accessHttp();
        form.append(captcha);
        captcha.setString("");
        display.setCurrent(form);
    }