Hi, I am developing for Asha 501 using Lwuit.
I´m having a weird issue: randomly the back command assigned to the hardware back button is showed in the commands list. When this happens, the hardware button has no functionality and the command is needed to be activated from the command in the command menu list. This happens once when the app has been launched more than five o six times approx. The other times the app works properly. Does anyone know how to fix this o why does it happen??

The code for declaring tha back command is this:

Command backCommand = new Command("back") {

public void actionPerformed(ActionEvent evt) {
super.actionPerformed(evt);
back();
}
};

setBackCommand(backCommand);



Thanks in advance!!