fixes alert and navigation to home after sending stock-out alert